package com.mrbeard.greenbroswer.entites;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by 胡彬 on 2018/3/30.
 */
public class Log {
    private int id;
    private Timestamp startTime;
    private String desUrl;
    private String deviceId;

    public Log() {
    }

    public Log(int id, Timestamp startTime, String desUrl, String deviceId) {
        this.id = id;
        this.startTime = startTime;
        this.desUrl = desUrl;
        this.deviceId = deviceId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public String getDesUrl() {
        return desUrl;
    }

    public void setDesUrl(String desUrl) {
        this.desUrl = desUrl;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String toString() {
        return "Log{" +
                "id=" + id +
                ", startTime=" + startTime +
                ", desUrl='" + desUrl + '\'' +
                ", deviceId='" + deviceId + '\'' +
                '}';
    }
}
